﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebForms/SiteWF.master" AutoEventWireup="true" CodeBehind="CustomerEdit.aspx.cs" Inherits="WaterfrontLodge.WebForms.CustomerEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <fieldset>
  <legend>Edit Customer</legend>  
  <asp:Label ID="LblMessage" runat="server" ForeColor="Red"></asp:Label>

    <table >
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label1" runat="server" Text="Customer Name:"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                
                <asp:TextBox ID="username" runat="server" ReadOnly="True"></asp:TextBox>
                  
            </td>
            <td align="left">
                <asp:Button ID="Search" runat="server" onclick="Search_Click" Text="Search" 
                    Visible="False" />
            </td >
        </tr>
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label2" runat="server" Text="IC No.:"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                <asp:TextBox ID="certifiNO" runat="server"></asp:TextBox>
            </td>
            <td align="right"style="width: 200px">
                <asp:Label ID="LblmesageCNO" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label3" runat="server" Text="Telephone No.:"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                <asp:TextBox ID="telNO" runat="server"></asp:TextBox>
            </td>
            <td align="right"style="width: 200px">
                <asp:Label ID="LblmessageTNO" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label4" runat="server" Text="Address:"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                <asp:TextBox ID="addr" runat="server"></asp:TextBox>
            </td>
            <td align="right"style="width: 200px">
                &nbsp;</td>
        </tr>
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label5" runat="server" Text="Gender:"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                <asp:RadioButtonList ID="gender" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True">Male</asp:ListItem>
                    <asp:ListItem>Female</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td align="right"style="width: 200px">
                <asp:Label ID="LblmessageGNO" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <th align="right" style="width: 150px">
                <asp:Label ID="Label6" runat="server" Text="Occupation"></asp:Label>
            </th>
            <td align="right"style="width: 150px">
                <asp:ListBox ID="career" runat="server">
                    <asp:ListItem Selected="True">Student</asp:ListItem>
                    <asp:ListItem>Teacher</asp:ListItem>
                    <asp:ListItem>Engineer</asp:ListItem>
                    <asp:ListItem>Agent</asp:ListItem>
                    <asp:ListItem>Farmer</asp:ListItem>
                    <asp:ListItem>Worker</asp:ListItem>
                    <asp:ListItem>Doctor</asp:ListItem>
                    <asp:ListItem>Lawer</asp:ListItem>
                    <asp:ListItem>Officer</asp:ListItem>
                    <asp:ListItem>Others</asp:ListItem>
                </asp:ListBox>
            </td>
            <td align="right"style="width: 200px">
                <asp:Label ID="LblmessageCNO" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>

    <br />
    <asp:Button ID="Edit" runat="server" onclick="Edit_Click" Text="Update" Width="64px" Height="26px" />&nbsp;&nbsp;
    <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/WebForms/Account/CustomerView.aspx" Visible="False">CustomerView</asp:LinkButton>
   </fieldset>
</asp:Content>
